package cn.aylog.service;

import cn.aylog.pojo.User;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(isolation = Isolation.DEFAULT, readOnly = false, propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public interface UserService {
    public User getById(Integer id);
    public void updateInfo();
    public Integer getCount();
}
